ScoreChart

fun ScoreChart(score: Int, scores: List<String>, severities: List<String>)

Composable function that displays a score chart to show the user's score and severity.

This function shows the score and severity levels for both depression and anxiety based on the provided score. The score is compared to predefined ranges to determine the severity level.

Parameters

score

The score value to be displayed.

scores

A list of string values representing the different score ranges.

severities

A list of string values representing the corresponding severity levels for each score range.